package com.hxzy.service;

import com.hxzy.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Set;

/**
* @author 11452
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Service
* @createDate 2023-09-26 09:44:31
*/
public interface SysMenuService extends IService<SysMenu> {

    /**
     * 根据用户id查询拥有的菜单
     * @param userId
     * @return
     */
    Set<String> ownerMenuByUserId(Long userId);
}
